import { Color } from './color';
import { XmlObject, XmlChildElement, XmlAttribute, XmlElement } from "xml-core";

@XmlElement({ localName: 'marker'})
export class Marker extends XmlObject {

    @XmlAttribute({ localName: 'in' })
    public _in: number;

    @XmlAttribute({ localName: 'out' })
    public _out: number;

    @XmlChildElement()
    public name: string;

    @XmlChildElement()
    public comment: string;

    @XmlChildElement({ noRoot: true })
    public color: Color;

    @XmlChildElement()
    public pproColor: number;

}